namespace SimpleWebServices.Configuration
{
    using System.Xml.Serialization;

    [XmlRoot("http")]
    public sealed class HttpSettings
    {
        public HttpSettings()
        {
            this.Headers = new HttpHeaderSettings();
        }

        [XmlAttribute("console.write")]
        public bool ConsoleWrite
        {
            get;
            set;
        }

        [XmlElement("headers")]
        public HttpHeaderSettings Headers
        {
            get;
            set;
        }
    }
}